package com.cn.zuul.feign.fallback;

import com.cn.common.pojo.ResultModel;
import com.cn.zuul.feign.SecurityFeign;
import org.springframework.stereotype.Component;

@Component
public class SecurityFallBack implements SecurityFeign {
    @Override
    public ResultModel checkAccessToUri(String uri, String username) {
        return ResultModel.error();
    }
}
